// 关于地址url相关的工具类

/**
 *
 * @param {查询key} key
 * @returns
 */
export const getParma = (key) => {
  const queryString = window.location.search
  const urlParams = new URLSearchParams(queryString)
  return urlParams.get(key)
}
